﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SharpShare.Storage.Searching.Parameters;

namespace SharpShare.Storage.Searching {
    public static class SearchExtensions {
        public static SearchParameter And(this SearchParameter left, SearchParameter right) {
            return new AndSearchParameter(left, right);
        }
        public static SearchParameter Or(this SearchParameter left, SearchParameter right) {
            return new OrSearchParameter(left, right);
        }
    }
}
